//
//  SubmitFieldOrderContactInfoView.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/30.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SubmitSerOrderModel.h"
NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, FieldOrderContactInfoType) {
    //姓名
    FieldOrderContactInfoType_name,
    //手机号
    FieldOrderContactInfoType_phone,
    
    FieldOrderContactInfoType_sertime
};

@interface SubmitFieldOrderContactInfoView : UIView


@property (weak, nonatomic) IBOutlet UIView *locationAddressControl;


@property (weak, nonatomic) IBOutlet UILabel *addressLab;

@property (weak, nonatomic) IBOutlet UITextField *nameTF;

@property (weak, nonatomic) IBOutlet UITextField *phoneTF;

@property (weak, nonatomic) IBOutlet UILabel *serTimeLab;

@property (weak, nonatomic) IBOutlet UIView *serTimeControl;


- (void)fillHeadWithModel:(SubmitSerOrderModel *)model Address:(NSString *)address;

@property (nonatomic, copy) void(^textFieldChangeBlock )(NSString * content, FieldOrderContactInfoType type);


@property (nonatomic, copy) void(^selDateBlock)(void);

@end

NS_ASSUME_NONNULL_END
